package com.jinghua.treatment.service.impl;

import com.jinghua.treatment.entity.SysMedicalInstitution;
import com.jinghua.treatment.mapper.SysMedicalInstitutionMapper;
import com.jinghua.treatment.service.MedicalinsitutionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class MedicalinsitutionServiceImpl  implements MedicalinsitutionService{


    /**
     * 加载医疗机构
     * @return
     */
    public List<SysMedicalInstitution> selectMedicalinsitutions(){
       return sysMedicalInstitutionMapper.selectAll();
    }

    @Resource
    private SysMedicalInstitutionMapper sysMedicalInstitutionMapper;

}
